package com.tcm.entity.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author Guqier
 * @version 1.0
 * @date 2023/7/5 21:57
 */
@Data
public class ClazzUpdateDto {

    //班级ID
    private Long id;

    //班级名称
    @NotBlank(message = "name不能为空")
    private String name;

    //学院
    @NotNull(message = "collegeId不能为空")
    private Long collegeId;

    //专业
    @NotNull(message = "majorId不能为空")
    private Long majorId;

    //年级
    @NotNull(message = "gradeId不能为空")
    private Long gradeId;

}
